Add remotes-config-dir to OstreeRepo
authorAlexander Larsson <alexl@redhat.com>
Fri, 8 Apr 2016 14:59:12 +0000 (16:59 +0200)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Thu, 14 Apr 2016 16:21:01 +0000 (16:21 +0000)
commitc86e4f0c9015f1de0a24f66c0cb8c7b93bb1c598
tree981b473ef235456519fbfc1477ccff27a9e2d60d
parentd9a334950bcaded268d60511fe23f386bebf0276
Add remotes-config-dir to OstreeRepo

This allows you to replace the default
$sysroot/$sysconfdir/ostree/repos.d string value, and to use a similar
feature for repos that are not the system repo.

In particular, this allows us to support /etc/xdg-app/remotes.d for
xdg-app.

Closes: #247
Approved by: cgwalters
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.c